using Microsoft.Extensions.DependencyInjection;

namespace Luka;

/// <summary>
/// 统一规范结果
/// </summary>
[NotScanned]
public static class UnifyResultSetup
{
    /// <summary>
    /// 注册统一规范结果
    /// </summary>
    /// <returns></returns>
    public static IServiceCollection AddUnifyResult(this IServiceCollection services) => services.AddFilter<UnifyResultFilter>();
}